<?php
//original code
if ( function_exists('register_sidebars') )
	register_sidebars(3); 
	//remove_filter('get_the_excerpt', 'wp_trim_excerpt');
	//add_filter('get_the_excerpt', 'improved_trim_excerpt'); 
	// Add Excerpts to pages in admin
//---------------------------------------
add_action( 'dbx_page_advanced', 'mfAddExcerpt2Pages' );
remove_filter('term_description','wpautop');
function mfAddExcerpt2Pages(){
	global $post;
?>	<div class="dbx-b-ox-wrapper">
	<fieldset id="postexcerpt" class="dbx-box">
	<div class="dbx-h-andle-wrapper">
	<h3 class="dbx-handle"><?php _e('Optional Excerpt') ?></h3>
	</div>
	<div class="dbx-c-ontent-wrapper">
	<div class="dbx-content"><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea></div>
	</div>
	</fieldset>
	</div>
<?php } ?>